package com.victor.common.core.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MenuEnum {
    one("com.victor.common.dao.chronicDisease.TThInfoDao","三高共管专项"),
    two("com.victor.common.dao.chronicDisease.TDntInfoDao","脑卒中专项"),
    three("com.victor.common.dao.chronicDisease.TChdInfoDao","冠心病专项");


    private String className;

    private String menuName;


    public static  String getMenuNameInfo(String className) {
         for(MenuEnum menuEnum : MenuEnum.values()){

             if(className.equals(menuEnum.getClassName())){
                 return menuEnum.getMenuName();
             }
         }
         return null;
    }

}
